const { getRent, getbuyHoust, findRent, selectHoust, selectBuy, selectData } = require("../controller/rentHouse")
const auth = require("../middleware/auth")
const router = require("koa-router")()

router.get('/selectData', selectData)
router.get('/getRentHoust', getRent)
router.get('/getbuyHoust', getbuyHoust)
router.post('/findDetail', findRent)

router.post('/selectHous', selectHoust)
router.post('/selectBuy', selectBuy)

module.exports = router